package cn.icare.cms.dao.po;

import java.util.Date;
import javax.persistence.*;

@Table(name = "`t_order_paying`")
public class OrderPaying {
    /**
     * 订单Id
     */
    @Id
    @Column(name = "`orderid`")
    private Long orderid;

    /**
     * 订单编号
     */
    @Column(name = "`ordercode`")
    private String ordercode;

    /**
     * 创建或修改时间
     */
    @Column(name = "`createtime`")
    private Date createtime;

    /**
     * 获取订单Id
     *
     * @return orderid - 订单Id
     */
    public Long getOrderid() {
        return orderid;
    }

    /**
     * 设置订单Id
     *
     * @param orderid 订单Id
     */
    public void setOrderid(Long orderid) {
        this.orderid = orderid;
    }

    /**
     * 获取订单编号
     *
     * @return ordercode - 订单编号
     */
    public String getOrdercode() {
        return ordercode;
    }

    /**
     * 设置订单编号
     *
     * @param ordercode 订单编号
     */
    public void setOrdercode(String ordercode) {
        this.ordercode = ordercode == null ? null : ordercode.trim();
    }

    /**
     * 获取创建或修改时间
     *
     * @return createtime - 创建或修改时间
     */
    public Date getCreatetime() {
        return createtime;
    }

    /**
     * 设置创建或修改时间
     *
     * @param createtime 创建或修改时间
     */
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }
}